Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Applet Control Functions /


JMCountApplets

Counts the number of applets associated with an HTML page.

OSStatus JMCountApplets (
JMAppletLocatorRef locatorRef, 
UInt32* appletCount);
locatorRef
The applet locator that contains the parsed HTML text.
appletCount
A pointer to the applet count. On return, this parameter points to the number of applets.
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
If there are no applets associated with the text, JMCountApplets returns 0. You can call this function only after successfully retrieving HTML text using the JMNewAppletLocator function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help